<center>
<table cellspacing="0" align="center">
	<tr>
		<td valign="top">
		<h2 class="caption"><?php echo $this->captionUnset ?></h2>
		<div class="set-unset-scroller">
		<table cellspacing="1" class="set-unset">
			<thead>
				<tr>
				<?php foreach($this->getListHeadings() as $heading): ?>
					<th><?php echo $heading ?></th>
					<?php endforeach; ?>
					<?php if($this->showButtons): ?>
					<th>&nbsp;&nbsp;</th>
					<?php endif; ?>
				</tr>
			</thead>
			<tbody>
			<?php foreach($this->list as $row) : ?>
				<tr id="<?php echo $this->genHtmlUnsetId($row) ?>"
					onclick="SetUnset.set('<?php echo $this->fieldName ?>','<?php echo $row[$this->pkName] ?>');"
					<?php if($this->rowIsSet($row)) echo 'style="display:none;"' ?>
					title="<?php echo $this->titleUnset ?>">
					<?php foreach($this->getListFieldNames() as $fieldName): ?>
					<td <?php echo $this->getTDClassDeclaration($fieldName) ?>><?php echo $row[$fieldName] ?>
					</td>
					<?php endforeach; ?>
					<?php if($this->showButtons): ?>
					<td>
					<button type="button">&rsaquo;</button>
					</td>
					<?php endif; ?>
				</tr>
				<?php endforeach; ?>
			</tbody>
		</table>
		</div>
		</td>
		<td width="10%"></td>
		<td valign="top">
		<h2 class="caption"><?php echo $this->captionSet ?></h2>
		<div class="set-unset-scroller">
		<table cellspacing="1" class="set-unset">
			<thead>
				<tr>
				<?php if($this->showButtons): ?>
					<th>&nbsp;&nbsp;</th>
					<?php endif; ?>
					<?php foreach($this->getListHeadings() as $heading): ?>
					<th><?php echo $heading ?></th>
					<?php endforeach; ?>
				</tr>
			</thead>
			<tbody>
			<?php foreach($this->list as $row): ?>
				<tr id="<?php echo $this->genHtmlSetId($row) ?>"
					onclick="SetUnset.unset('<?php echo $this->fieldName ?>','<?php echo $row[$this->pkName] ?>');"
					<?php if(!$this->rowIsSet($row)) echo 'style="display:none;"' ?>
					title="<?php echo $this->titleSet ?>">
					<?php if($this->showButtons): ?>
					<td>
					<button type="button">&lsaquo;</button>
					</td>
					<?php endif; ?>
					<?php foreach($this->getListFieldNames() as $fieldName): ?>
					<td <?php echo $this->getTDClassDeclaration($fieldName) ?>><?php echo $row[$fieldName] ?></td>
					<?php endforeach; ?>
				</tr>
				<?php endforeach; ?>
			</tbody>
		</table>
		</div>
		</td>
	</tr>
	<tr>
		<td colspan="3" align="center"><?php echo $this->footerText; ?></td>
	</tr>
</table>
</center>
				<?php foreach($this->list as $row): ?>
<input type="hidden"
	id="<?php echo $this->fieldName ?>_<?php echo $row[$this->pkName] ?>"
	name="<?php echo $this->fieldName ?>[]"
	value="<?php echo $row[$this->pkName] ?>"
	<?php if(!$this->rowIsSet($row)) echo 'disabled'; ?>>
	<?php endforeach; ?>